package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 数据挂接对象 record_catalogue
 *
 * @author admin
 * @date 2022-02-20
 */
public class RecordCatalogue extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long catalogueId;

    /**
     * 档案人员ID
     */
    @Excel(name = "档案人员ID")
    private Long personId;

    /**
     * 目录名称
     */
    @Excel(name = "目录名称")
    private String catalogue;

    /**
     * 文件存储路径
     */
    @Excel(name = "文件存储路径")
    private String filePath;

    /**
     * 图片存储路径
     */
    @Excel(name = "图片存储路径")
    private String imgPath;

    /**
     * 文件数量
     */
    //@Excel(name = "文件数量")
    private Long fileNum;

    /**
     * 文件后缀名
     */
    //@Excel(name = "文件后缀名")
    private String fileExt;

    /**
     * 目录上传配置ID
     */
    private Long archivesetId;

    // 文件类型
    private String fileType;

    // 大小限制，单位MB
    private Long fileSize;

    // 上传提示
    private String point;

    // 文件个数限制
    private Long fileLimit;


    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public Long getFileLimit() {
        return fileLimit;
    }

    public void setFileLimit(Long fileLimit) {
        this.fileLimit = fileLimit;
    }

    public Long getArchivesetId() {
        return archivesetId;
    }

    public void setArchivesetId(Long archivesetId) {
        this.archivesetId = archivesetId;
    }

    public Long getCatalogueId() {
        return catalogueId;
    }

    public void setCatalogueId(Long catalogueId) {
        this.catalogueId = catalogueId;
    }

    public Long getPersonId() {
        return personId;
    }

    public void setPersonId(Long personId) {
        this.personId = personId;
    }

    public String getCatalogue() {
        return catalogue;
    }

    public void setCatalogue(String catalogue) {
        this.catalogue = catalogue;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Long getFileNum() {
        return fileNum;
    }

    public void setFileNum(Long fileNum) {
        this.fileNum = fileNum;
    }

    public String getFileExt() {
        return fileExt;
    }

    public void setFileExt(String fileExt) {
        this.fileExt = fileExt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("catalogueId", getCatalogueId())
                .append("personId", getPersonId())
                .append("catalogue", getCatalogue())
                .append("filePath", getFilePath())
                .append("fileNum", getFileNum())
                .append("fileExt", getFileExt())
                .toString();
    }
}
